package com.dawn.module.hospital.controller.admin.invoice.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 发票新增/修改 Request VO")
@Data
public class InvoiceSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "15679")
    private Long id;

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "15640")
    @NotNull(message = "用户id不能为空")
    private Long userId;

    @Schema(description = "openid", requiredMode = Schema.RequiredMode.REQUIRED, example = "27885")
    @NotEmpty(message = "openid不能为空")
    private String openid;

    @Schema(description = "机构名称", example = "王五")
    private String orgName;

    @Schema(description = "机构编码")
    private String orgCode;

    @Schema(description = "姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "姓名不能为空")
    private String patientName;

    @Schema(description = "身份证号")
    private String idCardNo;

    @Schema(description = "病人ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "28367")
    @NotEmpty(message = "病人ID不能为空")
    private String patientId;

    @Schema(description = "门诊号")
    private String clinicNo;

    @Schema(description = "订单号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "订单号不能为空")
    private String orderNumber;

    @Schema(description = "订单类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotEmpty(message = "订单类型不能为空")
    private String orderType;

    @Schema(description = "订单名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "订单名称不能为空")
    private String orderName;

    @Schema(description = "金额", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "金额不能为空")
    private String amout;

    @Schema(description = "操作人员", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "操作人员不能为空")
    private String operator;

    @Schema(description = "操作类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "操作类型不能为空")
    private String operateType;

    @Schema(description = "结账id", requiredMode = Schema.RequiredMode.REQUIRED, example = "31124")
    @NotEmpty(message = "结账id不能为空")
    private String settleId;

    @Schema(description = "发票类型", example = "2")
    private String invoiceType;

    @Schema(description = "发票号")
    private String invoiceNo;

    @Schema(description = "发票编码")
    private String invoiceCode;

    @Schema(description = "发票地址", example = "https://www.ynzykj.net")
    private String invoiceUrl;

    @Schema(description = "校验码")
    private String checkCode;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "状态不能为空")
    private Integer status;

}